package com.chinasofti.etc.alcohol.service.impl;

import com.chinasofti.etc.alcohol.dao.model.User;
import com.chinasofti.etc.alcohol.dao.UserMapper;
import com.chinasofti.etc.alcohol.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lucas
 * @since 2019-05-28
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User queryOne(String username) {
        return userMapper.queryOne(username);
    }
}
